#include "StdAfx.h"
#include "MainFrame.h"

CMainFrame::CMainFrame()
{}

CMainFrame::~CMainFrame()
{}

// message handler

int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
    CRect rc(0, 0, 164, 131);
    m_oCalendar.Create(m_hWnd, rc);
    return 0;
}

BOOL CMainFrame::OnEraseBkgnd(CDCHandle dc)
{
    //SetMsgHandled(FALSE);
    dc.FillSolidRect(0, 0, 40, 32, RGB(100, 100, 200));
    return 0;
}